package com.mhkj.base.itemInfo.phase.service;

import java.util.List;

import com.mhkj.base.itemInfo.phase.entity.Phase;
import com.mics.core.common.componet.Pagination;
import com.mics.core.system.base.service.BaseService;

public interface PhaseService extends BaseService<Phase>{

	/**
	 * 分页查询
	 */
	Pagination<Phase> listByPage(Phase Phase, int pageIndex, int size);

	/**
	 * 待条件查询分期
	 * @param cityId
	 * @param itemName
	 * @return
	 */
	List<Phase> findByCidOrItemName(Long cityId, String itemName,Long provinceId);
/**
 * 通过项目id查询非组团期区
 * @param itemId
 * @return
 */
	List<Phase> findPhaseByItemId(Long itemId);
/**
 * 通过组团id查询该组团下的期区期区
 * @param groupId
 * @return
 */
List<Phase> findPhaseByGroupId(Long groupId);

}
